from pydantic_settings import BaseSettings


class Settings(BaseSettings):
    """应用基础配置信息"""

    app_name: str = "FastAPI"
    app_port: int = 8000
    app_env: str = "dev"
    app_debug: bool = False

    class Config:
        env_file = ".env"
        case_sensitive = True
        env_file_encoding = "utf-8"
